import { createCommonPage } from '/src/utils/service.js'

export const createForm = () => ({
  // desc: true,
  // orderField: '',
  startTime: '',
  endTime: '',
  timeType: '',
  type: '', // string 0:涉市选题推荐 1:微博热点推荐
  ...createCommonPage(),
})

export const createTabs = () => [
  { label: '涉市选题推荐', value: 'cityTopic', component: 'city-topic', type: '0', url: 'recommend/list/topic' },
  {
    label: '微博热点推荐',
    value: 'microblogHotspot',
    component: 'microblog-hotspot',
    type: '1',
    url: 'recommend/list/weibo',
  },
]
